package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.base.BaseEntity;

import java.util.Date;

/**
 * 附件表 attachement
 * 
 * @author ruoyi
 * @date 2019-07-16
 */
public class Attachements extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 附件ID */
	private Integer attachmentsId;
	/** 附件名称 */
	private String mc;
	/** 实体对象ID */
	private Integer ofId;
	/** 长度 */
	private String len;
	/** 路径 */
	private String path;
	/** 扩展名 */
	private String suffix;
	/** 状态 */
	private Integer status;
	/** 创建人ID */
	private String createId;
	/** 创建时间 */

	private Date createTime;
	/** 修改人ID */
	private String modifyId;
	/** 修改时间 */

	private Date modifyTime;

	/** 备注 */
	private String beizhu;


	public void setMc(String mc) 
	{
		this.mc = mc;
	}

	public String getMc() 
	{
		return mc;
	}
	public void setOfId(Integer ofId) 
	{
		this.ofId = ofId;
	}

	public Integer getOfId() 
	{
		return ofId;
	}
	public void setLen(String len) 
	{
		this.len = len;
	}

	public String getLen() 
	{
		return len;
	}
	public void setPath(String path) 
	{
		this.path = path;
	}

	public String getPath() 
	{
		return path;
	}
	public void setSuffix(String suffix) 
	{
		this.suffix = suffix;
	}

	public String getSuffix() 
	{
		return suffix;
	}
	public void setStatus(Integer status) 
	{
		this.status = status;
	}

	public Integer getStatus() 
	{
		return status;
	}
	public void setCreateId(String createId)
	{
		this.createId = createId;
	}

	public String getCreateId()
	{
		return createId;
	}

	public void setModifyId(String modifyId)
	{
		this.modifyId = modifyId;
	}

	public String getModifyId()
	{
		return modifyId;
	}

	public void setBeizhu(String beizhu) 
	{
		this.beizhu = beizhu;
	}

	public String getBeizhu() 
	{
		return beizhu;
	}
	@Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("attachmentIds", getAttachmentsId())
            .append("mc", getMc())
            .append("ofId", getOfId())
            .append("len", getLen())
            .append("path", getPath())
            .append("suffix", getSuffix())
            .append("status", getStatus())
            .append("createId", getCreateId())
            .append("createTime", getCreateTime())
            .append("modifyId", getModifyId())
            .append("modifyTime", getModifyTime())
            .append("beizhu", getBeizhu())
            .toString();
    }


	public Date getCreateTime() {
		return createTime;
	}


	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getModifyTime() {
		return modifyTime;
	}

	public void setModifyTime(Date modifyTime) {
		this.modifyTime = modifyTime;
	}

	public Integer getAttachmentsId() {
		return attachmentsId;
	}

	public void setAttachmentsId(Integer attachmentsId) {
		this.attachmentsId = attachmentsId;
	}
}
